]> dgit.raspbian.org Git - gnome-shell.git/commit
overview: Get rid of panel ghost actor
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 9 Mar 2021 16:31:30 +0000 (17:31 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 13 Mar 2021 22:13:25 +0000 (22:13 +0000)
commitd49606bbaab054d9fe303312622e118eecc58d68
tree7d995b59975290b8ddf75165b0ae1640db08fba4
parentae23ad372dde963b6101fd4fa547ba1c15a7fd97
overview: Get rid of panel ghost actor

Right now we use a ClutterClone ghost of the panel simply to add some
spacing to the top monitor edge.

We can remove the panelGhost by adjusting the allocations of all the
parts of the overview ourselves inside ControlsManagers vfunc_allocate,
this should also work with extensions that move the panel somewhere
else.

This makes the initial relayout of the overview significantly faster,
because we now no longer have to relayout the whole panel in the
process.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1755>
js/ui/overview.js
js/ui/overviewControls.js